package cn.com.blackboard.DataModule4B2.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.com.blackboard.DataModule4B2.model.DepartmentInfo;
import cn.com.blackboard.DataModule4B2.util.BatchResultModel;
@Service
public interface DepartmentService {
	
	 int insert(DepartmentInfo courseInfo); 
	 
	 List<DepartmentInfo> getDepartmentInfo();
	 
	 List<DepartmentInfo> getDepartmentInfo(String condition);
	 
	 String getDepartmentNameById(String departmentId);
	 
	 List<DepartmentInfo> getDepartmentByName(String departmentName); 

	 int updateStatus(String departmentId);
	 
	 List<BatchResultModel> importDepartment(List<DepartmentInfo> departmentInfoLst);
	 
	 List<BatchResultModel> batchImportDepartment();
}
